package com.cw.realtime.common
package bean

case class UserRegisterBean(
  register_ct: Long,
  ts: Long,
  stt: String = "",
  edt: String = "",
  cur_date: String = ""
) extends RichBean[UserRegisterBean] {

  override def +(that: UserRegisterBean): UserRegisterBean =
    UserRegisterBean(register_ct + that.register_ct, ts)

  override def transWindowRange(stt: String, edt: String, cur_date: String): UserRegisterBean = {
    UserRegisterBean(register_ct, ts, stt, edt, cur_date)
  }
}
